package com.icloud.article.boot.dto;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("帖子dto")
@Data
public class ForwardDto {
    @ApiModelProperty(value = "帖子id，修改时不为空", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long id;

    @ApiModelProperty(value = "评论内容,分享时可以有一条评论")
    private String content;
}
